package com.css.dzj.zfjg.modules.supervisioncompinfo.service;

import com.css.dzj.zfjg.modules.supervisioncompinfo.entity.*;
import com.css.dzj.zfjg.modules.supervisioncompinfo.vo.JgTsMsg;
import com.querydsl.core.QueryResults;
import org.springframework.data.domain.Pageable;
import javax.servlet.http.HttpServletRequest;


public interface JgFbComplaintService {


    /**
     * 分页监管投诉信息
     */
    QueryResults<JgTsMsg> getTsComplainEntity(Pageable pageable, String complaintTerritory, String complaintObject, String fbBureau,String fbDepartment,
                                              String complaintType, String name, String taskState, String receiveStartTime,
                                              String receiveEndTime);
    /**
     * 详情信息vo
     */
    //TsXqVo selectById(String registerCode);

    /**
     * 监管投诉信息
     */
    JgTsjbComplaintInfoEntity findNo(String registerCode);
    /**
     * 监管任务分办详情
     */
    JgFbComplaintEntity findRegister(String registerCode);
    /**
     * 任务催办
     */
    JgTsjbUrgeInfoEntity findCode(String registerCode);
    /**
     * 任务经办信息
     */
    JgTsjbHandleInfoEntity fidByRegister(String registerCode);
    /**
     * 调解信息
     */
    JgTsjbMediateInfoEntity findMediate(String registerCode);
    /**
     * 获取投诉人员信息详情
     * @param registerCode
     */
    JgTsjbUserInfoEntity  findUser(String registerCode);
    /**
     * 添加分办信息
     * @param jgFbComplaintEntity
     */
    void add(JgFbComplaintEntity jgFbComplaintEntity, HttpServletRequest request);
    /**
     * 添加调解信息
     * @param jgTsjbMediateInfoEntity
     */
    void addmedite(JgTsjbMediateInfoEntity jgTsjbMediateInfoEntity, HttpServletRequest request);

    /**
     * 修改分办信息
     * @param jgFbComplaintEntity
     */
    void update(JgFbComplaintEntity jgFbComplaintEntity,HttpServletRequest request);
    /**
     * 修改监管投诉信息
     * @param jgTsjbComplaintInfoEntity
     */
    void update(JgTsjbComplaintInfoEntity jgTsjbComplaintInfoEntity,HttpServletRequest request);
}
